// 自动生成模板CoConspirator
package flaud

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"gorm.io/datatypes"
)

// 嫌疑人管理 结构体  CoConspirator
type CoConspirator struct {
	global.GVA_MODEL
	Name         *string        `json:"name" form:"name" gorm:"column:name;comment:;" binding:"required"`                     //姓名
	Alias        *string        `json:"alias" form:"alias" gorm:"column:alias;comment:可能存在的化名;"`                              //别名
	ContactInfo  *string        `json:"contactInfo" form:"contactInfo" gorm:"column:contact_info;comment:;"`                  //联系方式
	Role         *string        `json:"role" form:"role" gorm:"column:role;comment:;"`                                        //角色
	Relationship *string        `json:"relationship" form:"relationship" gorm:"column:relationship;comment:;"`                //关系
	Nationality  *string        `json:"nationality" form:"nationality" gorm:"column:nationality;comment:;"`                   //国籍
	Address      *string        `json:"address" form:"address" gorm:"column:address;comment:;"`                               //住址
	Document     *string        `json:"document" form:"document" gorm:"column:document;comment:;"`                            //证件
	Evidence     datatypes.JSON `json:"evidence" form:"evidence" gorm:"column:evidence;comment:;" swaggertype:"array,object"` //证据
}

// TableName 嫌疑人管理 CoConspirator自定义表名 co_conspirators
func (CoConspirator) TableName() string {
	return "co_conspirators"
}
